﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://wubiyu.cnblogs.com">
<head>
      <title></title>
      <link href="../../Theme/DomExtGray/gray.min.css" rel="Stylesheet" type="text/css" />
      <link href="PageModel.css" rel="Stylesheet" type="text/css" />
      <script type="text/javascript" src="../../domExt.js"></script>
      <style type="text/css">
      body
      {
          padding:0px 0px 0px 0px;
      }
     
 p.MsoNormal
	{margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:10.5pt;
	font-family:"Calibri","sans-serif";
	              margin-left: 0cm;
                  margin-right: 0cm;
                  margin-top: 0cm;
            }
      </style>
</head>
<body>
<h:layout borderwidth="0,0,0,0">
<h:head hposition="0,0,*,*" borderwidth="0,0,0,0" style="overflow:auto;">
<div style=" margin:10px 10px 10px 10px">
<div class="fun_title">
             &lt;h:window&gt;&lt;/h:window&gt;窗口标记
      </div>
      <div class="fun_content">
            描述：窗口控件
      </div>
      <div class="fun_title2">
            标签属性:
      </div>
      <div class="fun_content2">
            type：可以是 "m" 和 "w"。"m"：模态窗口，"w"：普通窗口。默认：为 "w"。<br />
            caption：窗口标题。<br />
            hposition：输入“top,left,width,height",例如："0,0,800,500"<br />
            isshowmask：是否显示遮罩<br />
            iscenter：是否居中显示<br />
            state：初始状态，"min" 为小化，"max" 最大化，"normal" 正常<br />
            isactive：是否激活 "true" 或 "false"<br />
            minwidth：窗口最小宽度 默认：200<br />
            minheight：窗口最小高度 默认：200<br />
            keygroup：设置窗口键盘组，默认为自已的ID<br />
            keyclosechar：设置关闭窗口快捷键，默认为 "SHIFT+F4";<br />
            keyminchar：设置隐藏窗口快捷键，默认为 "ESC";<br />
            keymaxchar：设置最大化窗口快捷键，默认为 "SHIFT+X";<br />
      </div>
      <div class="fun_title2">
            对象属性:
      </div>
      <div class="fun_content2">
        OnLoadHandle=function(e)：窗口加载完成时触发的事件句柄。<br />
        OnLoadingHandle=function(e)：窗口加载前触发的事件句柄。<br />
      </div>
      <div class="fun_title2">
            对象方法:
      </div>
       <div class="fun_content2">
          <span>Show()</span> ：显示窗口<br />
          <span>Hid()</span> ：隐藏窗口。<br />
          <span>SetState(state)</span> ：设置窗口为最大化，最小化，正常。<br />
          <span>SetCaption(caption)</span> ：设置窗口标题。<br />
          <span>SetContent(content)</span> ：设置窗口内容，内容为字符串。<br />
          <span>SetPosition(hposition)</span> ：设置窗口显示位置。<br />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <span>hposition</span>：输入“top,left,width,height",当top 和 left 为0时为不设置top 和left。例如："0,0,800,500" 
          </div>
          <div id="msg" class="fun_title2">
            示例预览:
      </div>
      <div class="code">
        <h:btn id="openModewindow">打开模态对话框</h:btn>
      </div>
      <br />
       <div class="fun_title2">
            示例代码:
      </div>
       <div class="code">
             Html code
             <br />
             窗口任务栏<br /><p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:fuchsia;mso-font-kerning:0pt">h</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:fuchsia;mso-font-kerning:0pt">listview</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
mso-font-kerning:0pt"> <span style="color:red">id</span><span style="color:
blue">=&quot;taskbar&quot;</span><span style="mso-spacerun:yes">&nbsp; </span><span style="color:red">istab</span><span 
                         style="color:blue">=&quot;true&quot;&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                   <span style="color:blue">&lt;</span><span style="color:fuchsia">h</span><span 
                         style="color:blue">:</span><span style="color:fuchsia">itemtemplet</span><span 
                         style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span>{=caption}<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                   <span style="color:blue">&lt;/</span><span style="color:fuchsia">h</span><span 
                         style="color:blue">:</span><span style="color:fuchsia">itemtemplet</span><span 
                         style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;/</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:fuchsia;mso-font-kerning:0pt">h</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:fuchsia;mso-font-kerning:0pt">listview</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:blue;mso-font-kerning:0pt">&gt;</span></p>
             <p align="left" class="MsoNormal">
                   用标记创建 窗口</p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;color:blue;mso-font-kerning:0pt">&lt;</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:
NSimSun;color:maroon;mso-font-kerning:0pt">h</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;
color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:
9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;color:maroon;mso-font-kerning:
0pt">window</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;
mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"> <span style="color:red">id</span><span 
                     style="color:blue">=&quot;userRegister&quot;&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span><span style="color:blue">&lt;</span><span style="color:maroon">h</span><span 
                     style="color:blue">:</span><span style="color:maroon">caption</span><span 
                     style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span><span style="color:red">&amp;nbsp;</span></span><span style="font-size:9.5pt;font-family:宋体;mso-ascii-font-family:NSimSun;mso-fareast-font-family:
宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:NSimSun;
mso-bidi-font-family:NSimSun;mso-font-kerning:0pt">用户注册</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;
mso-font-kerning:0pt"><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span><span style="color:blue">&lt;/</span><span style="color:maroon">h</span><span 
                     style="color:blue">:</span><span style="color:maroon">caption</span><span 
                     style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span><span style="color:blue">&lt;</span><span style="color:maroon">h</span><span 
                     style="color:blue">:</span><span style="color:maroon">content</span><span 
                     style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span></span>
                 <span style="font-size:
9.5pt;font-family:宋体;mso-ascii-font-family:NSimSun;mso-fareast-font-family:
宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:NSimSun;
mso-bidi-font-family:NSimSun;mso-font-kerning:0pt">注册内容</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;
mso-font-kerning:0pt">Y<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;mso-font-kerning:0pt"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 </span><span style="color:blue">&lt;/</span><span style="color:maroon">h</span><span 
                     style="color:blue">:</span><span style="color:maroon">content</span><span 
                     style="color:blue">&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                 <span lang="EN-US" style="font-size:9.5pt;font-family:
NSimSun;mso-bidi-font-family:NSimSun;color:blue;mso-font-kerning:0pt">&lt;/</span><span 
                     lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:
NSimSun;color:maroon;mso-font-kerning:0pt">h</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;
color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:
9.5pt;font-family:NSimSun;mso-bidi-font-family:NSimSun;color:maroon;mso-font-kerning:
0pt">window</span><span lang="EN-US" style="font-size:9.5pt;font-family:NSimSun;
mso-bidi-font-family:NSimSun;color:blue;mso-font-kerning:0pt">&gt;<o:p></o:p></span></p>
             <br />
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:maroon;mso-font-kerning:0pt">script</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt"> <span style="color:red">type</span><span 
                         style="color:blue">=&quot;text/javascript&quot;&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                   <span style="color:#404040">_h</span>.ready(<span style="color:blue">function</span> 
                   () {<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> testwidnow =
                   <span style="color:#404040">_h</span>.Windows.CreateWindow(<span 
                         style="color:maroon">&quot;testWidnow&quot;</span>, <span style="color:maroon">
                   &quot;&amp;nbsp;window1&quot;</span>, <span style="color:maroon">&quot;content1&quot;</span>,
                   <span style="color:
blue">null</span>, <span style="color:maroon">&quot;w&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> testWidnow3 =
                   <span style="color:#404040">_h</span>.Windows.CreateWindow(<span 
                         style="color:maroon">&quot;testWidnow3&quot;</span>, <span style="color:maroon">
                   &quot;&amp;nbsp;window3&quot;</span>, <span style="color:maroon">&quot;content3&quot;</span>,
                   <span style="color:
blue">null</span>, <span style="color:maroon">&quot;w&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> testWidnow4 =
                   <span style="color:#404040">_h</span>.Windows.CreateWindow(<span 
                         style="color:maroon">&quot;testWidnow4&quot;</span>, <span style="color:maroon">
                   &quot;&amp;nbsp;QQ&quot;</span>, <span style="color:maroon">&quot;&lt;iframe src=&#39;http://www.qq.com&#39; 
                   width=&#39;100%&#39; height=&#39;100%&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&quot;</span>,
                   <span style="color:blue">null</span>, <span style="color:maroon">&quot;w&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> testWidnow5 =
                   <span style="color:#404040">_h</span>.Windows.CreateWindow(<span 
                         style="color:maroon">&quot;testWidnow5&quot;</span>, <span style="color:maroon">
                   &quot;&amp;nbsp;blogs&quot;</span>, <span style="color:maroon">&quot;&lt;iframe 
                   src=&#39;http://wubiyu.cnblogs.com&#39; width=&#39;100%&#39; height=&#39;100%&#39; 
                   frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&quot;</span>, <span style="color:blue">null</span>,
                   <span style="color:maroon">&quot;w&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> testwidnow2 =
                   <span style="color:#404040">_h</span>.Windows.CreateWindow(<span 
                         style="color:maroon">&quot;testWidnow2&quot;</span>, <span style="color:maroon">
                   &quot;&amp;nbsp;modelWindow2&quot;</span>, <span style="color:maroon">&quot;content2&quot;</span>,
                   <span style="color:
maroon">&quot;100,20,400,200&quot;</span>, <span style="color:maroon">&quot;m&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:#404040">_h</span>.Windows.CloseWindow(<span 
                         style="color:maroon">&quot;testWidnow2&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:#404040">_h</span>.Windows.InitTaskByListView(<span 
                         style="color:#404040">_g</span>(<span style="color:maroon">&quot;#taskbar&quot;</span>));<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:blue">var</span> openModewindow =
                   <span style="color:#404040">_g</span>(<span style="color:maroon">&quot;#openModewindow&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:#404040">_h</span>.addEvent(openModewindow,
                   <span style="color:maroon">&quot;click&quot;</span>, <span style="color:blue">function</span> 
                   () {<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt"><o:p>
                   &nbsp;</o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span><span style="color:#404040">_h</span>.Windows.OpenWindow(<span 
                         style="color:maroon">&quot;testWidnow2&quot;</span>);<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span>});<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>});<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;</span><span style="color:blue">&lt;/</span><span 
                         style="color:maroon">script</span><span style="color:blue">&gt;<o:p></o:p></span></span></p>
        </div>
        </div>
</h:head>
<h:bottom hposition="0,0,*,30" borderwidth="1,0,0,0" style=" background-color:#FFFFEC">
<h:listview id="taskbar"  istab="true">
      <h:itemtemplet>
            {=caption}
      </h:itemtemplet>
</h:listview>
</h:bottom>
</h:layout>
<h:window id="userRegister">
        <h:caption>
            &nbsp;用户注册
        </h:caption>
        <h:content>
             注册内容
        </h:content>
</h:window>
<h:windows>
</h:windows>
 <script type="text/javascript">
       _h.ready(function () {
             var testwidnow = _h.Windows.CreateWindow("testWidnow", "&nbsp;window1", "content1", null, "w");
             var testWidnow3 = _h.Windows.CreateWindow("testWidnow3", "&nbsp;window3", "content3", null, "w");
             var testWidnow4 = _h.Windows.CreateWindow("testWidnow4", "&nbsp;QQ", "<iframe src='http://www.qq.com' width='100%' height='100%' frameborder='0'></iframe>", null, "w");
             var testWidnow5 = _h.Windows.CreateWindow("testWidnow5", "&nbsp;blogs", "<iframe src='http://wubiyu.cnblogs.com' width='100%' height='100%' frameborder='0'></iframe>", null, "w");
             var testwidnow2 = _h.Windows.CreateWindow("testWidnow2", "&nbsp;modelWindow2", "content2", "100,20,400,200", "m");
             _h.Windows.CloseWindow("testWidnow2");
             _h.Windows.InitTaskByListView(_g("#taskbar"));
             var openModewindow = _g("#openModewindow");
             _h.addEvent(openModewindow, "click", function () {
                   _h.Windows.OpenWindow("testWidnow2");
             });
       });
 </script>
      
</body>
</html>
